// app.js
import './utils/utils'
import './utils/http'
App({
  userInfo: { avatar: '', nackName: '微信用户' },
  globalData: {},
  setToken(type, value) {
    this[type] = value
    wx.setStorageSync(type, value)
  },
  getToken() {
    console.log(this.token);
    return wx.getStorageSync('token')
  },
})